package cn.lysj.framework.elm.service;

import cn.lysj.framework.base.BaseService;
import cn.lysj.framework.elm.domain.ElmRequest;
import cn.lysj.framework.elm.repository.ElmRequestRepository;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import javax.transaction.Transactional;
import javax.annotation.Resource;

/**
 * @author drj
 * @description 饿了么消息推送请求,方便消息去重服务层
 * @create 2019-01-24 15:25:36
 **/
@Slf4j
@Service
@Transactional
public class ElmRequestService implements BaseService<ElmRequest> {

    @Resource
    private ElmRequestRepository elmRequestRepository;

    @Override
    public ElmRequestRepository getRepository() {
        return elmRequestRepository;
    }
}